/*
 * @Author: xiaxia
 * @Description: 
 * @Date: 2024-06-20 14:56:13
 * @LastEditTime: 2024-06-28 16:17:14
 * @FilePath: \project\src\store\modules\types\type.ts
 */
// 
import { Category } from '@/api/product/attr/type'
import type { RouteRecordRaw } from 'vue-router'
// 用户i信息
export interface UserState{
  token:string|null,
  menuRoutes: RouteRecordRaw[],
  username:string,
  avatar:string,
}
// 路由
export interface UseMenu{
  menuRoutes: RouteRecordRaw[]
}

// 商品管理 - 分类对象
export interface categoryState{
  category1Id: number | string,
  category2Id: number | string,
  category3Id: number | string,
  options1: Category[],
  options2: Category[],
  options3: Category[],
}